package com.itwn.mapper;

import com.itwn.entity.UrlPermission;
import com.itwn.vo.PermissionsVo;

import java.util.List;

public interface UrlPermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UrlPermission record);

    UrlPermission selectByPrimaryKey(Long id);

    List<UrlPermission> selectAll();

    int updateByPrimaryKey(UrlPermission record);

    List<UrlPermission> selectByName(String name);

    List<PermissionsVo> selectAllPermissionVo();
}